/**   
 * 项目名：化工企业安全生产信息化管理平台
 * 日期：    2020-03-01 22:19:08  
 * Copyright (c) 2015- -版权所有     
 */
package com.joysuch.wwyt.edu.service;

import com.joysuch.wwyt.edu.entity.EduExamCourse;

import com.joysuch.wwyt.edu.bean.EduExamCourseDetailBean;
import com.joysuch.wwyt.edu.bean.EduExamCourseEditBean;
import com.joysuch.wwyt.edu.bean.EduExamCourseListBean;
import static com.joysuch.wwyt.edu.bean.EduExamCourseListBean.SearchEduExamCourse;
import com.joysuch.wwyt.core.exception.BusinessRestrictionsException;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface EduExamCourseService {

    public EduExamCourse add(EduExamCourseEditBean entity);

    void update(EduExamCourseEditBean entity);

    Page<EduExamCourseListBean> findByPage(Pageable page,SearchEduExamCourse condition);

    void delete(Long id) throws BusinessRestrictionsException;

    EduExamCourseDetailBean getById(Long id);

    EduExamCourse findById(Long id);
}
